package com.bbjob.controller.client;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.bbjob.dto.Result;
import com.bbjob.query.ExamineeScoreDetailEntity;
import com.bbjob.service.IExamineeScoresDetailService;

@Api(tags = "examieescoresdetailApi", description = "考生成绩详情管理")
@RestController
@RequestMapping(path = "client/examieescoresdetail", produces = "application/json;charset=utf-8")
public class ClientExamineeScoresDetailController {
	
	@Resource
	private IExamineeScoresDetailService examineeScoresDetailService;
	
	@ApiOperation(value="保存考试成绩详情", notes="保存考试成绩详情")
	@ApiImplicitParam(name="entity", value="考试成绩详情", required=true, dataType="ExamineeScoreDetailEntity")
	@RequestMapping(value="save", method=RequestMethod.POST)
	public Result save(@RequestBody ExamineeScoreDetailEntity entity) {
		
		return examineeScoresDetailService.saveByClientEntity(entity);
	}
}
	